package com.automobile.backstage.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(value = {"handler"})
public class CarType {
	
	private int id;
	private String name;

	public CarType() {
		super();
	}
	public CarType(int id, String name) {
		this.id = id;
		this.name = name;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Override
	public String toString() {
		return "CarType [id=" + id + ", name=" + name + "]";
	}
	
	
	
}
